
delete from BD_RELATEDAPP where APPCODE like '20060796%';
go

INSERT INTO BD_RELATEDAPP (APPCODE, DR, PAGECODE, PK_BILLTYPECODE, PK_BILLTYPEID, PK_RELATEDAPP, PRIORITY, SENCE, TS, VDEF1, VDEF2, VDEF3) VALUES ('20060796', null, '20060796L_CARD', 'SBGL', '0001ZZZZD9BEAF44FCFD', '0001ZZZZ0001d88a998f', 0, 4, '2021-10-24 23:59:54', null, null, null);
go
INSERT INTO BD_RELATEDAPP (APPCODE, DR, PAGECODE, PK_BILLTYPECODE, PK_BILLTYPEID, PK_RELATEDAPP, PRIORITY, SENCE, TS, VDEF1, VDEF2, VDEF3) VALUES ('20060796A', null, null, 'SBGL', '0001ZZZZD9BEAF44FCFD', '0001ZZZZb025c7833ac0', 0, 3, '2021-10-24 23:59:54', null, null, null);
go
